﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BookBuy
{
    public partial class GioHang : BasePage
    {
        public List<CHITIETGIOHANG> CTGioHang = new List<CHITIETGIOHANG>();
        public muasachEntities data = new muasachEntities();
        protected void Page_Load(object sender, EventArgs e)
        {
            // lấy danh sách chi tiết giỏ hàng
            List<CHITIETGIOHANG> CTGioHang = (List<CHITIETGIOHANG>)Cache["CTGioHang"];
            
        }

        protected void GridView1_Load(object sender, EventArgs e)
        {

        }

        protected void btn_delete_Click(object sender, ImageClickEventArgs e)
        {
            System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE='JavaScript'>alert('Comming soon')</SCRIPT>");
            return;   
        }

        protected void btn_update_Click(object sender, ImageClickEventArgs e)
        {
            System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE='JavaScript'>alert('Comming soon')</SCRIPT>");
            return;
        }

        protected void btn_nhavanchuyen1_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect("TinhPhiVanChuyen.aspx?id=1", true);
        }

        protected void btn_nhavanchuyen2_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect("TinhPhiVanChuyen.aspx?id=2", true);
        }

       
    }
}